// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import Vuex from 'vuex'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import storeInfo from './store/'
import axios from './http/config.js'
import utils from './utils'
import './assets/reset.css'
import router from './router'
Vue.use(ElementUI);
Vue.use(Vuex)
Vue.prototype.$http = axios
Vue.prototype.$utils = utils
Vue.config.productionTip = false
Vue.prototype.$baseUrl = 'http://localhost:7001/'
const store = new Vuex.Store(storeInfo)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  store,
  router,
  components: { App },
  template: '<App/>'
})
